package practice.w905;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("小黑",2,"黑");
        dog1.eat();
        dog1.drink();
        dog1.lookHome();

        Dog dog2 = new Dog("小白",1,"白");
        dog2.eat();
        dog2.drink();
        dog2.lookHome();

        Dog dog3 = new Dog("小橘",3,"橘");
        dog3.eat();
        dog3.drink();
        dog3.lookHome();

        Chick chick = new Chick("小咖",1,"褐");
        chick.eat();
        chick.drink();
        chick.layEggs();

        Chick chick1 = new Chick("小菜",1,"黄");
        chick1.eat();
        chick1.drink();
        chick1.layEggs();

        Chick chick2 = new Chick("小胖",1,"黄");
        chick2.eat();
        chick2.drink();
        chick2.layEggs();

        Fish fish = new Fish("小金",2,"金");
        fish.eat();
        fish.drink();

        Fish fish1 = new Fish("红",2,"红");
        fish1.eat();
        fish1.drink();




//        Dog dog1 = new Dog("小黑",2,"黑");
//        dog1.eat();
//        dog1.drink();
//        dog1.lookHome();
//
//        Dog dog2 = new Dog("小白",1,"白");
//        dog2.eat();
//        dog2.drink();
//        dog2.lookHome();
//
//        Dog dog3 = new Dog("小橘",3,"橘");
//        dog3.eat();
//        dog3.drink();
//        dog3.lookHome();
//
//        Chick chick = new Chick("小咖",1,"褐");
//        chick.eat();
//        chick.drink();
//        chick.layEggs();
//
//        Chick chick1 = new Chick("小菜",1,"黄");
//        chick1.eat();
//        chick1.drink();
//        chick1.layEggs();
//
//        Chick chick2 = new Chick("小胖",1,"黄");
//        chick2.eat();
//        chick2.drink();
//        chick2.layEggs();
//
//        Fish fish = new Fish("小金",2,"金");
//        fish.eat();
//        fish.drink();
//
//        Fish fish1 = new Fish("红",2,"红");
//        fish1.eat();
//        fish1.drink();

    }
}
